package cn.iocoder.yudao.module.system.controller.admin.mini.goodInfo.goodsType;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeVo {

    Integer value;
    String label;
    List<TreeVo> children;

    public TreeVo() {
    }

    public TreeVo(Integer value, String label) {
        this.value = value;
        this.label = label;
        this.children=new ArrayList<>();
    }

    public TreeVo(Integer value, String label, List<TreeVo> children) {
        this.value = value;
        this.label = label;
        this.children = children;
    }
}
